package com.itheima.ioc;

public class JDKTest {
    public static void main(String[] args) {
        FirstProxy jdkProxy = new FirstProxy();
        //
        UserDao userDao = new UserDaoT();
        UserDao userDao1 = (UserDao) jdkProxy.createProxy(userDao);
        //
        userDao1.addUser();
        userDao1.deleteUser();
        System.out.println(11);
        System.out.println(111);
    }
}
